# 测试Python 多叉树模块

class Tree:
    def __init__(self):
        self.root = []

    def set(self, num):
        node = Node(num)


class Node:
    def __init__(self, value):
        self.value = value
        self.leaf = []

    def expand(self, node):
        self.leaf.append(node)


if __name__ == '__main__':
    node = Node(1)
    node.expand(Node(2))

    print(node.leaf[0].value)
